package com.java.packaages.test1;


/**
 * @author luzhikun
 * @date 2020/12/3- 16:17
 */
public class Test1 extends Order {
    public String name;
    private int salaly;

    public void getPublic() {
        //setAge();                      //缺省
        //setColor();                 //private
        setSex();
        setName();

    }

    protected void getProtect() {
        // setAge();                      //缺省
        // setColor();                 //private
        setSex();
        setName();
    }

    void get() {
        //setAge();                      //缺省
        //setColor();                 //private
        setSex();
        setName();
    }

    private void getPrivate() {
        //setAge();                      //缺省
        //setColor();                 //private
        setSex();
        setName();
    }
}
